/*
 * This file is part of FinVis.
 *
 * FinVis is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * FinVis is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.

 * You should have received a copy of the GNU General Public License
 * along with FinVis.  If not, see <http://www.gnu.org/licenses/>
 *
 * @author Stephen Rudolph
 */
#ifndef COMMON_H
#define COMMON_H

#define GLOBAL_INFLATION_RATE 0.03
#define MAX_YEARS 1
#define START_YEAR 2020
#define MAIN_VIEW_WIDTH 800
#define MAIN_VIEW_HEIGHT 600
#define INVESTMENT_LIST_HEIGHT 100
#define RIGHT_DOCK_WIDTH 200
#define MINIMUM_SIZE 100
#define CONFIG_FILE "Settings.ini"

#include <vector>

//Symbol types for use on graph
enum symbols {SymbolGradient, SymbolSelected, SymbolUnselected,
              SymbolLiquidAssets, SymbolBoundary, SymbolResult};

//An investment option contains all information about an investment type
struct InvestmentOption
{
    double annualPercentageReturn, standardDeviation;
    int durationYears;
    bool simpleInterest;
    char name[10];
};

#endif
